export interface ColumnsInterface {
  type?: 'default' | 'selection' | 'index' | 'expand'
  index?: number | ((index: number) => number)
  label?: string
  columnKey?: string
  prop?: string
  property?: string
  width?: string | number
  minWidth?: string | number
  fixed?: boolean | ('left' | 'right')
  align?: 'left' | 'center' | 'right' | string
  slot?: boolean
  slotTag?: string
  showOverflowTooltip?: boolean | object
}

export interface PropsInterface {
  initial?: any[]
  columns?: ColumnsInterface[]
  isPagination?: boolean
  total?: number
  // ['sizes', 'prev', 'pager', 'next', 'jumper', '->', 'total', 'slot']
  layout?: string
  border?: boolean
  isSelected?: boolean
  index?: boolean
}
